import { UeESGeoPolygon, ESUeViewer } from 'earthsdk3-ue';
import { ESRtsPolygon } from '.';

export class UeESRtsPolygon extends UeESGeoPolygon<ESRtsPolygon> {
    static readonly type = this.register("ESUeViewer",ESRtsPolygon.type, this);
    constructor(sceneObject: ESRtsPolygon, ueViewer: ESUeViewer) {
        super(sceneObject, ueViewer);

        const viewer = ueViewer.viewer;
        if (!viewer) {
            console.warn(`viewer is undefined!`);
            return;
        }
    }
}
